import 'vant/lib/index.less'
import Vue from 'vue'
import App from './App.vue'
import router from './router'

import { Button, Field, Form, NavBar, Tabbar, TabbarItem, Toast, Cell, List } from 'vant'

Vue.use(Cell)
Vue.use(Field)
Vue.use(Toast)
// 1. 注册form组件
Vue.use(Form)

Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Button)
Vue.use(NavBar)
Vue.use(List)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
